package com.zy.business.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zy.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description 项目进度
 * @Author  zhangxiaojia
 * @Date 2020-06-16
 */

@Data
@ApiModel
@TableName ("tb_project_progress_rate" )
public class TbProjectProgressRate implements Serializable {

	private static final long serialVersionUID =  1331738703129770964L;

	/**
	 * 主键
	 */
   	 @TableId(value = "id")
	 @ApiModelProperty(hidden = true)
	private Long id;

	/**
	 * 项目id
	 */
   	 @TableField("project_id" )
	 @ApiModelProperty(value ="项目id",required = true)
	private Long projectId;

	/**
	 * 进度
	 */
	@TableField("progress_rate")
	@ApiModelProperty(value = "进度",required = true)
   	 private Integer progressRate;

	/**
	 * 进度描述
	 */
	@TableField("progress_description")
	@ApiModelProperty(value = "进度描述",required = true)
	private String progressDescription;

	/** 创建者 */
	@TableField("create_by")
	private String createBy;

	/** 创建时间 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	@TableField("create_time")
	private Date createTime;

	/**
	 * 删除标志
	 */
	@ApiModelProperty(hidden = true)
	@TableLogic
	private String delFlag;

}
